package cn.stylefeng.guns.modular.rest;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.taikang.model.params.JobParam;
import cn.stylefeng.guns.modular.taikang.service.JobService;
import cn.stylefeng.guns.modular.usr.entity.Favor;
import cn.stylefeng.guns.modular.usr.model.params.FavorParam;
import cn.stylefeng.guns.modular.usr.model.result.FavorResult;
import cn.stylefeng.guns.modular.usr.service.FavorService;
import cn.stylefeng.roses.core.base.controller.BaseController;
import cn.stylefeng.roses.core.reqres.response.SuccessResponseData;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import java.util.Date;
import java.util.List;


/**
 * 新闻收藏控制器
 *
 * @author
 * @Date 2019-12-17 17:27:48
 */
@RestController
@RequestMapping("/taikangApi")
@CrossOrigin
public class ApiTaikangController extends BaseController {
    @Autowired
    private JobService jobService;

    @RequestMapping("/job/list")
    public LayuiPageInfo list(JobParam jobParam) {
        return this.jobService.findPageBySpec(jobParam);
    }


}


